#ifndef __DINO_DRAW__
#define __DINO_DRAW__

#ifdef __cplusplus
extern "C"
{
#endif

#include "jdi_mip_display.h"
    void drawBmpCover(int16_t x, int16_t y, const unsigned char *bmp, uint8_t iscover);
    void drawBmp(int16_t x, int16_t y, const unsigned char *bmp);

    void drawChromeDinoRun(uint8_t index, int16_t x, int16_t y);

    void drawCloud(int16_t x, int16_t y);

    void drawGround(int16_t x, int16_t y);

    void drawLowBattery(int16_t x, int16_t y);
    void drawLowBattery_1(int16_t x, int16_t y);

    void drawGameOver(int16_t x, int16_t y);

    void drawRestartLogo(int16_t x, int16_t y);

    uint8_t getCactusCounts(void);
    uint16_t getCactusWidth(uint8_t index);
    uint16_t getCactusHeight(uint8_t index);
    void drawCactus(int16_t x, int16_t y, uint8_t index);

#define DINO_RUNNING1 0
#define DINO_RUNNING2 1
#define DINO_FLYING 2
#define DINO_AFRAID 3

    uint8_t getDinoWidth(uint8_t index);
    uint8_t getDinoHeight(uint8_t index);
    void drawDino(int16_t x, int16_t y, uint8_t index);

    void drawHI(int16_t x, int16_t y);

    void drawNum(int16_t x, int16_t y, uint32_t num, uint8_t color);

#define DINO_GIRL_RUNNING1 0
#define DINO_GIRL_RUNNING2 1
#define DINO_GIRL_NORMAL 2

    void drawDinoGirl(int16_t x, int16_t y, uint8_t index);

    void drawDinoSmail(int16_t x, int16_t y);

    void drawDinoGirlSmail(int16_t x, int16_t y);
    
    void drawCongratulations(int16_t x, int16_t y);
    void drawYOUWIN(int16_t x, int16_t y);

    void drawIFoundU(int16_t x, int16_t y);

    void drawMyLove(int16_t x, int16_t y);

#define LOVE_HEART1 0
#define LOVE_HEART2 1
    void drawHeart(int8_t index, int16_t x, int16_t y);

    void drawqrCode(int16_t x, int16_t y);
#ifdef __cplusplus
}
#endif

#endif